projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f063b32
)
arm: rmobile: alt: Remove i2c_init function
author
Nobuhiro Iwamatsu
<
[email protected]
>
Mon, 10 Nov 2014 00:16:45 +0000
(09:16 +0900)
committer
Nobuhiro Iwamatsu
<
[email protected]
>
Mon, 10 Nov 2014 00:48:37 +0000
(09:48 +0900)
The i2c_init function is no longer necessary.
Signed-off-by: Nobuhiro Iwamatsu <
[email protected]
>
Signed-off-by: Nobuhiro Iwamatsu <
[email protected]
>
board/renesas/alt/alt.c
patch
|
blob
|
history
diff --git
a/board/renesas/alt/alt.c
b/board/renesas/alt/alt.c
index 68ae9372c74aa29d8a3193a971cb8a666fc20344..039cb376d39ddce971024311dae2d611342f942d 100644
(file)
--- a/
board/renesas/alt/alt.c
+++ b/
board/renesas/alt/alt.c
@@
-167,7
+167,6
@@
void reset_cpu(ulong addr)
u8 val;
i2c_set_bus_num(1); /* PowerIC connected to ch1 */
- i2c_init(400000, 0);
i2c_read(CONFIG_SYS_I2C_POWERIC_ADDR, 0x13, 1, &val, 1);
val |= 0x02;
i2c_write(CONFIG_SYS_I2C_POWERIC_ADDR, 0x13, 1, &val, 1);